package com.tjmc.tiomscore.dao;

import com.tjmc.tiomscore.model.TranPtnHwTdm;
import com.tjmc.tiomscore.model.TranPtnHwTdmExample;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface TranPtnHwTdmMapper extends TranPtnHwSuperMapper<TranPtnHwTdm> {
    long countByExample(TranPtnHwTdmExample example);

    int deleteByExample(TranPtnHwTdmExample example);

    int deleteByPrimaryKey(Long id);

    int insert(TranPtnHwTdm record);

    int insertSelective(TranPtnHwTdm record);

    List<TranPtnHwTdm> selectByExample(TranPtnHwTdmExample example);

    TranPtnHwTdm selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") TranPtnHwTdm record, @Param("example") TranPtnHwTdmExample example);

    int updateByExample(@Param("record") TranPtnHwTdm record, @Param("example") TranPtnHwTdmExample example);

    int updateByPrimaryKeySelective(TranPtnHwTdm record);

    int updateByPrimaryKey(TranPtnHwTdm record);
}